const columns = [
    { slotName: 'cashRegister', dataIndex: 'cashRegister', slots: { title: 'cashRegister' } },
    { slotName: 'name', dataIndex: 'name', slots: { title: 'name' } },
    { slotName: 'jzCount', dataIndex: 'jzCount', slots: { title: 'jzCount' } },
    { slotName: 'jqCount', dataIndex: 'jqCount', slots: { title: 'jqCount' } },
    { slotName: 'isChain', dataIndex: 'isChain', slots: { title: 'isChain', customRender: 'customisChain' } },
    {
        slotName: 'merchantAreaCode',
        dataIndex: 'area',
        slots: { title: 'merchantAreaCode', customRender: 'customisAreaCode' },
    },
    { slotName: 'systype', dataIndex: 'agentName', slots: { title: 'systype' } },
    { slotName: 'status', dataIndex: 'status', slots: { title: 'status', customRender: 'customStatus' } },
    { slotName: 'afterSalesSpecialis', dataIndex: 'afterSalesSpecialis', slots: { title: 'afterSalesSpecialis' } },
    {
        slotName: 'action',
        key: 'operation',
        fixed: 'right',
        width: 220,
        slots: { title: 'action', customRender: 'customAction' },
    },
];
const merchantColumns = [
    { slotName: 'cashRegister', dataIndex: 'merchantCode', slots: { title: 'cashRegister' } },
    { slotName: 'storeName', dataIndex: 'name', slots: { title: 'storeName' } },
    { slotName: 'cashRegisterName', dataIndex: 'cashRegister', slots: { title: 'cashRegisterName' } },
    { slotName: 'account', dataIndex: 'account', slots: { title: 'account' } },
    { slotName: 'storeAreaCode', dataIndex: 'area', slots: { title: 'storeAreaCode' } },
    { slotName: 'dutyUser', dataIndex: 'afterSalesSpecialis', slots: { title: 'dutyUser' } },
    { slotName: 'generalTitle', dataIndex: 'jqCount', slots: { title: 'generalTitle', customRender: 'general' } },
    { slotName: 'merchantEsl', dataIndex: 'merchantEsl', slots: { title: 'merchantEsl', customRender: 'Esl' } },
    { slotName: 'jzCount', dataIndex: 'jzCount', slots: { title: 'jzCount', customRender: 'jz' } },
    { slotName: 'warningCount', dataIndex: 'jqCount', slots: { title: 'warningCount', customRender: 'warning' } },
    { slotName: 'status', dataIndex: 'status', slots: { title: 'status', customRender: 'customStatus' } },
    {
        slotName: 'action',
        key: 'operation',
        fixed: 'right',
        width: 220,
        slots: { title: 'action', customRender: 'customAction' },
    },
];

export { merchantColumns, columns };
